package com.itheima.service;

import com.itheima.dimain.User;

import java.util.List;
public interface UserService {

    List<User> finAll();
    User findById(Integer userId);
    void updateUser(User user);

    void deleteUser(Integer id);

    void addUser(User user);
}
